/* timestamp.c - print current timestamp (seconds since EPOCH) */

#include <sys/time.h>
#include <stdio.h>

int
main(void)
{
  struct timeval tv;
  gettimeofday(&tv, NULL);
  printf("%ld.%06d\n", tv.tv_sec, tv.tv_usec);
  return 0;
}
